package org.gui.featureSelection;

import java.awt.GridLayout;
import java.util.ArrayList;

import javax.swing.JPanel;

public class FeatureSelectionPanel extends JPanel {

	private static final long serialVersionUID = 1L;

	MostFrequentWordsPanel mostFrequentWordPanel;
	PairOfWordsPanel pairOfWordsPanel;
	WordsWithNumbersPanel wordsWithNumbers;
	NumbersExtractorPanel numbersExtractorPanel;

	public FeatureSelectionPanel() {
		super();
		setLayout(new GridLayout(5, 1, 0, 5));
		mostFrequentWordPanel = new MostFrequentWordsPanel();
		add(mostFrequentWordPanel);

		wordsWithNumbers = new WordsWithNumbersPanel();
		add(wordsWithNumbers);

		pairOfWordsPanel = new PairOfWordsPanel();
		add(pairOfWordsPanel);

		numbersExtractorPanel = new NumbersExtractorPanel();
		add(numbersExtractorPanel);

	}

	public ArrayList<String> getFeatures() {

		
		if (mostFrequentWordPanel.getFeature() != null) {
		
}
		if (wordsWithNumbers.getFeature() != null) {

		}
		if (pairOfWordsPanel.getFeature() != null) {


		}

		if (numbersExtractorPanel.getFeature() != null) {


		}
		return null;

	}

}
